<?php



use Doctrine\ORM\Mapping as ORM;

/**
 * Interagir
 *
 * @ORM\Table(name="interagir")
 * @ORM\Entity
 */
class Interagir
{
    /**
     * @var integer $id
     *
     * @ORM\Column(name="id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var Medicament
     *
     * @ORM\OneToOne(targetEntity="Medicament")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="medMeddepotlegal", referencedColumnName="medDepotlegal", unique=true)
     * })
     */
    private $medmeddepotlegal;

    /**
     * @var Medicament
     *
     * @ORM\OneToOne(targetEntity="Medicament")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="medDepotlegal", referencedColumnName="medDepotlegal", unique=true)
     * })
     */
    private $meddepotlegal;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set medmeddepotlegal
     *
     * @param Medicament $medmeddepotlegal
     * @return Interagir
     */
    public function setMedmeddepotlegal(\Medicament $medmeddepotlegal = null)
    {
        $this->medmeddepotlegal = $medmeddepotlegal;
        return $this;
    }

    /**
     * Get medmeddepotlegal
     *
     * @return Medicament 
     */
    public function getMedmeddepotlegal()
    {
        return $this->medmeddepotlegal;
    }

    /**
     * Set meddepotlegal
     *
     * @param Medicament $meddepotlegal
     * @return Interagir
     */
    public function setMeddepotlegal(\Medicament $meddepotlegal = null)
    {
        $this->meddepotlegal = $meddepotlegal;
        return $this;
    }

    /**
     * Get meddepotlegal
     *
     * @return Medicament 
     */
    public function getMeddepotlegal()
    {
        return $this->meddepotlegal;
    }
}